package com.matt.service;

import com.matt.domain.ContractProduct;

import java.util.List;

/**
 * ************************
 * Created by Ron
 * from com.matt
 * on 2018/6/20 0020.
 * ***********************
 */
public interface ContractProductService {

    Boolean deleteById(String contractProductId);

    List<ContractProduct> findAll();

    ContractProduct get(String clienteleId, String id);

    List<ContractProduct> findByClienteleId(String clienteleId);

    List<ContractProduct> findByContractId(String contractId);

    List<ContractProduct> findByProductId(String productId);
}
